import ajax from './ajax';

ajax('get', 'http://127.0.0.1/aaa').then(result => {
  console.log(result);
}).catch(err => {
  console.log(err);
})